package com.pearadmin.pro.modules.professor.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.extension.service.IService;
import com.pearadmin.pro.common.web.base.page.PageResponse;
import java.util.List;

import com.pearadmin.pro.modules.professor.domain.Professor;

import com.pearadmin.pro.modules.professor.dto.ProfessorDTO;
import com.pearadmin.pro.modules.professor.param.ProfessorRequest;

/**
 * 教授信息Service接口
 * @author ChenJian
 * @date 2021-08-29
 */
public interface ProfessorService extends IService<Professor>
{
    /**
    * 获取查询教授信息列表 (分页)
     *
     * @param request 参数实体
    *
    * @return {@link Professor}
    * */
    PageResponse<Professor> page(ProfessorRequest request);

    Boolean saveOrUpdate(ProfessorDTO professor);
    /**
     * 查询教授信息
     *
     * @param id 教授信息ID
     * @return 教授信息
     */
    ProfessorDTO selectProfessorById(Long id);

}
